  <form id="form" class="form-horizontal" method="post" action="http://fwphp.cn<?php echo Fw::app()->getUrl();?>?r=login/register">
		<legend>注册</legend>
		<div class="control-group" >
			<label class="control-label" for="inputEmail">邮箱</label>
			<div class="controls">
				<input type="text" id="inputEmail" name="userEmail" check-type="mail required" mail-message="邮箱格式不正确！" >
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="inputChar">登陆名</label>
			<div class="controls">
				<input type="text" id="inputChar" name="username" check-type="username required" mail-message="不能为空，只能由字母组成" >
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="inputPassword">密码</label>
			<div class="controls">
				<input type="password" name="passowrd" id="inputPassword" check-type="passWord" mail-message="密码不能为空" >
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="inputConfirmPwd">确认密码</label>
			<div class="controls">
				<input type="password"  name="confirmPwd" id="inputConfirmPwd" check-type="confirmPwd" required-message="" >
			</div>
		</div>
		<div class="control-group">
			<div class="controls">
				<input type="submit" class="btn" value="登录" />
			</div>
		</div>
	</form>
	<script type="text/javascript">
	  //$('#form').validation();
	</script>